package com.zerdoor.service.impl;

import com.zerdoor.dao.UserFinanceReportDao;
import com.zerdoor.service.UserFinanceReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 平台财务报表 业务层接口实现类
 * Created by zhongjieyu on 2015/1/29.
 */
@Service
public class UserFinanceReportServiceImpl implements UserFinanceReportService {

    @Autowired
    private UserFinanceReportDao userFinanceReportDao;


    @Override
    public List<Map> findUserFinanceReport(Map<String, Object> result) throws Exception {

        return userFinanceReportDao.findUserFinanceReport(result);
    }


    @Override
    public List<Map> findCountUserFinance(Map<String, Object> result) throws Exception {


        return userFinanceReportDao.findCountUserFinance(result);
    }
}
